package com.yklab.library.http.base;

import java.io.Serializable;

/**
 * 请求返回数据父类
 * Created by yml on 16/6/12.
 */
public class BaseRespBean<T> implements Serializable {

    private static final long serialVersionUID = 5690879925665412656L;

    private String result;//0:正常  1:异常
    private String message;
    private T data;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
